{strip} {assign 'res' ['itemid' => $st.id, 'byuser' => $st.userid]} {assign var=wd_comm_count value=$this->getCommentsCount($st.id,'post')} {assign var=wd_comm_href value="/post?i={$st.id}"} {assign var=wd_comm_data value='data-type-post="1" data-scrollto="comments"'} {assign var=item_type value='post'} {assign var=kl_count value=$this->getLikesCount($st.id,'post')} {assign var=kl_eu value=$this->likedByMe($st.id,'post')}